<?php

class PublicPage extends Model
{
	function PublicPage()
	{
		parent::Model();
	}

	function all()
	{
		$this->db->select('id, title, url, description')
		         ->from('public_page');
		$query = $this->db->get();
		return $query->result();
	}
}
